﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TodoApp.TMS_Basics.TMS_Vehicles
{
    public class TMS_VehicleModelDto
    {
        public Guid id { get; set; }
        public string V_model { get; set; }//厂牌型号

        public string V_licenseplate { get; set; }//车牌号

        public string V_drivere { get; set; }//司机姓名

        public string V_company { get; set; }//所属公司

        public string V_lon { get; set; }//长

        public string V_width { get; set; }//宽

        public string V_hight { get; set; }//高

        public string VLwh
        {
            get
            {
                return V_lon + '*' + V_width + '*' + V_hight;
            }
        }

        public string V_color { get; set; }//颜色

        public DateTime V_titem { get; set; }//购车日期
        public string V_titemb
        {
            get
            {
                return V_titem.ToShortDateString();
            }
        }
        public string V_ynumber { get; set; }//运营证
        public DateTime V_stime { get; set; }//保险到期
        public DateTime V_etime { get; set; }//年检到期
        public string V_stimeb
        {
            get
            {
                return V_stime.ToShortDateString();
            }
        }
        public string V_etimeb
        {
            get
            {
                return V_etime.ToShortDateString();
            }
        }
        public string V_km { get; set; }//保养公里数
    }
}
